package cn.kongwg.service;

import cn.kongwg.bean.Book;

import java.util.List;

/**
 * @author kongwg
 * @create 2021-01-26 10:17
 */
public interface BookService {

    void addBook(Book book);

    void delectBook(Integer id);

    void updateBook(Book book);


    Book queryByid(Integer id);

    List<Book> queryList();
}
